﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;

namespace JESAI.HttpRequestMonitor.Core.Abstracts
{
    /// <summary>
    /// Interface for processing HTTP requests and responses.
    /// </summary>
    public interface IHttpInvokeProcesser
    {
        /// <summary>
        /// 处理调用信息
        /// </summary>
        /// <param name="context"> HTTP 请求上下文 </param>
        /// <param name="stopwatch"> 计时器 </param>
        void Process(HttpContext context, Stopwatch stopwatch);
    }
}
